package com.nervenets.web.controller.user;

import com.nervenets.web.controller.TokenParams;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Positive;

@EqualsAndHashCode(callSuper = true)
@Data
public class UserEnableParams extends TokenParams {
    @ApiModelProperty(value = "目标用户ID", required = true)
    @Positive(message = "请传入正确的目标用户ID")
    private long targetUserId;
    @ApiModelProperty(value = "是否启用", required = true)
    private boolean enable;
}
